<template>
  <view class="lin-box">
    <view class="lines"></view>
    <text>{{ over ? "没有更多了" : "加载更多" }}</text>
    <view class="lines"></view>
  </view>
</template>

<script lang="ts" setup>
import { ref } from "vue";

const props = defineProps({
  over: {
    type: Boolean,
    default: false,
  },
});
</script>

<style lang="scss">
.lin-box {
  height: 90rpx;
  display: flex;
  align-items: center;
  gap: 20rpx;
  color: #999;
  font-size: 28rpx;
  .lines {
    flex: 1;
    height: 1px;
    background: #ccc;
  }
}
</style>
